package com.flexdms.i18n.test.func;

import java.io.Serializable;

import javax.enterprise.context.ApplicationScoped;
import javax.enterprise.inject.Produces;
import javax.inject.Inject;

import com.flexdms.i18n.BingTranslator;
import com.flexdms.i18n.Translator;

@ApplicationScoped
public class TranslatorPorducer implements Serializable
{
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	@Inject BingTranslator translator;
	
	@Produces
	@ApplicationScoped
	Translator getTranslator()
	{
		return translator;
	}

}
